package com.along.game.model;

/**
 * InitDeskinfoId entity. @author MyEclipse Persistence Tools
 */

public class InitDeskinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer deskId;
	private String picidOrder;
	private String smallpicOrder;

	// Constructors

	public String getSmallpicOrder() {
		return smallpicOrder;
	}



	public void setSmallpicOrder(String smallpicOrder) {
		this.smallpicOrder = smallpicOrder;
	}



	/** default constructor */
	public InitDeskinfo() {
	}



	// Property accessors

	

	public Integer getDeskId() {
		return this.deskId;
	}

	public Integer getId() {
		return id;
	}



	public void setId(Integer id) {
		this.id = id;
	}



	public void setDeskId(Integer deskId) {
		this.deskId = deskId;
	}

	public String getPicidOrder() {
		return this.picidOrder;
	}

	public void setPicidOrder(String picidOrder) {
		this.picidOrder = picidOrder;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof InitDeskinfo))
			return false;
		InitDeskinfo castOther = (InitDeskinfo) other;

		return ((this.getId() == castOther.getId()) || (this.getId() != null
				&& castOther.getId() != null && this.getId().equals(
				castOther.getId())))
				&& ((this.getDeskId() == castOther.getDeskId()) || (this
						.getDeskId() != null
						&& castOther.getDeskId() != null && this.getDeskId()
						.equals(castOther.getDeskId())))
				&& ((this.getPicidOrder() == castOther.getPicidOrder()) || (this
						.getPicidOrder() != null
						&& castOther.getPicidOrder() != null && this
						.getPicidOrder().equals(castOther.getPicidOrder())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getId() == null ? 0 : this.getId().hashCode());
		result = 37 * result
				+ (getDeskId() == null ? 0 : this.getDeskId().hashCode());
		result = 37
				* result
				+ (getPicidOrder() == null ? 0 : this.getPicidOrder()
						.hashCode());
		return result;
	}

}